package com.pms.service;

import com.pms.entity.SysUser;
import com.pms.utils.DataTableRequest;
import com.pms.utils.DataTableResponse;
import com.pms.utils.ReturnInfo;
import com.pms.utils.User;

import java.util.List;

public interface ISysUserService {
    SysUser findById(Integer id);
    List<SysUser> findAll();
    void save(SysUser user);
    boolean update(SysUser user);
    void delete(Integer id);
    SysUser find(SysUser user);
    ReturnInfo checkLogin(User u);
    List<SysUser> findPage();
    DataTableResponse findDataPage(DataTableRequest data);
}
